import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class ShipperLoginTip extends StatefulWidget {
  const ShipperLoginTip({super.key});

  @override
  State<ShipperLoginTip> createState() => _ShipperLoginTipState();
}

class _ShipperLoginTipState extends State<ShipperLoginTip> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("登录司机端",style: TextStyle(fontWeight: FontWeight.w300,fontSize: 16.sp),),
        backgroundColor: Colors.white,
        centerTitle: true,
      ),
      body: Column(
        children: [
        Expanded(child:
        ListView(


          children: [
            SizedBox(height:27.h ,),
            Center(
              child: Text("速配货司机版",style: TextStyle(fontWeight: FontWeight.w600,fontSize: 20.sp,color: Colors.black),),
            ),
            SizedBox(height:10.h ,),
            Center(

              child:
              Image.asset("lib/Images/Authentication/登录货主端.png",width: 100.w,height: 100.h,),
            ),
            SizedBox(height:10.h ,),
            Center(

              child:
              Image.asset("lib/Images/Authentication/让货运生意更简单.png",width: 302.w,height: 47.h,),
            ),
          ],
        ),

        ),
          Container(
            height: 80.h,
            color: Colors.white,
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Container(
                    height: 40.h ,
                    margin: EdgeInsets.only(left: 15.w,right: 15.w),
                    decoration: BoxDecoration(
                        color:Color.fromRGBO(231, 112, 27, 0.85),
                        borderRadius: BorderRadius.all(Radius.circular(30))),

                    width: double.infinity,


                    child: TextButton(
                      child: Text("去下载",style: TextStyle(color: Colors.white,fontSize: 14.sp),),

                      onPressed: (){

                        // Navigator.push(context,
                        //     MaterialPageRoute(builder: (context) {
                        //       return SMSView(
                        //         phoneNumber:  phoneNum, SMSCode: '', count:60,);
                        //     }));
                      },
                    )
                ),
              ],
            ),
          ),
        ],
      ),



    );
  }
}
